package com.box.entity;

import java.io.UnsupportedEncodingException;

/**
 * @author 文章搜索关键词
 *
 */
public class ArticleSearch {
	private String artitle;
	private String artypeid;
	private String isView;
	private String uid;
	private String simpledes;
	private String createTimeStart;
	private String createTimeEnd;
	private String operation;
	public String getArtitle() {
		return artitle;
	}
	public void setArtitle(String artitle) {
		//advtitle=new String(advtitle.getBytes("iso8859-1"),"UTF-8");
		try {
			artitle=new String(artitle.getBytes("iso8859-1"),"UTF-8");
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		this.artitle = artitle;
	}
	public String getArtypeid() {
		return artypeid;
	}
	public void setArtypeid(String artypeid) {
		this.artypeid = artypeid;
	}
	public String getIsView() {
		return isView;
	}
	public void setIsView(String isView) {
		this.isView = isView;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	
	public String getSimpledes() {
		return simpledes;
	}
	public void setSimpledes(String simpledes) {
		try {
			simpledes=new String(simpledes.getBytes("iso8859-1"),"UTF-8");
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		this.simpledes = simpledes;
	}
	public String getCreateTimeStart() {
		return createTimeStart;
	}
	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}
	public String getCreateTimeEnd() {
		return createTimeEnd;
	}
	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	@Override
	public String toString() {
		return "ArticleSearch [artitle=" + artitle + ", artypeid=" + artypeid
				+ ", isView=" + isView + ", uid=" + uid  + ", simpledes=" + simpledes + ", createTimeStart="
				+ createTimeStart + ", createTimeEnd=" + createTimeEnd
				+ ", operation=" + operation + "]";
	}
	public ArticleSearch(String artitle, String artypeid, String isView,
			String uid,  String simpledes,
			String createTimeStart, String createTimeEnd, String operation) {
		super();
		this.artitle = artitle;
		this.artypeid = artypeid;
		this.isView = isView;
		this.uid = uid;

		this.simpledes = simpledes;
		this.createTimeStart = createTimeStart;
		this.createTimeEnd = createTimeEnd;
		this.operation = operation;
	}
	public ArticleSearch() {
		super();
		// TODO Auto-generated constructor stub
	}
	

}
